/*
 * Copyright (C) 2018 Zhejiang xiaominfo Technology CO.,LTD.
 * All rights reserved.
 * Official Web Site: http://www.xiaominfo.com.
 * Developer Web Site: http://open.xiaominfo.com.
 */

package com.github.xiaoymin.map.response.amap.regeo;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 地址信息
 * @author <a href="mailto:xiaoymin@foxmail.com">xiaoymin@foxmail.com</a>
 * 2020/09/21 20:11
 * @since:map-client 1.0
 */
public class AmapRegeoAddressComponent {
    @SerializedName("city")
    private String city;

    @SerializedName("province")
    private String province;

    @SerializedName("adcode")
    private String adcode;

    @SerializedName("district")
    private String district;

    @SerializedName("towncode")
    private String towncode;
    private String citycode;

    private AmapRegeoStreet streetNumber;

    private String country;
    private String township;

    private List<AmapRegeoBusinessArea> businessAreas;
    private AmapRegeoBuilding building;
    private AmapRegeoNeighBorHood neighBorHood;

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getAdcode() {
        return adcode;
    }

    public void setAdcode(String adcode) {
        this.adcode = adcode;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getTowncode() {
        return towncode;
    }

    public void setTowncode(String towncode) {
        this.towncode = towncode;
    }

    public String getCitycode() {
        return citycode;
    }

    public void setCitycode(String citycode) {
        this.citycode = citycode;
    }

    public AmapRegeoStreet getStreetNumber() {
        return streetNumber;
    }

    public void setStreetNumber(AmapRegeoStreet streetNumber) {
        this.streetNumber = streetNumber;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getTownship() {
        return township;
    }

    public void setTownship(String township) {
        this.township = township;
    }

    public List<AmapRegeoBusinessArea> getBusinessAreas() {
        return businessAreas;
    }

    public void setBusinessAreas(List<AmapRegeoBusinessArea> businessAreas) {
        this.businessAreas = businessAreas;
    }

    public AmapRegeoBuilding getBuilding() {
        return building;
    }

    public void setBuilding(AmapRegeoBuilding building) {
        this.building = building;
    }

    public AmapRegeoNeighBorHood getNeighBorHood() {
        return neighBorHood;
    }

    public void setNeighBorHood(AmapRegeoNeighBorHood neighBorHood) {
        this.neighBorHood = neighBorHood;
    }
}
